//
//  OpenSeekView.m
//  seekvillage
//
//  Created by xialei on 2018/7/31.
//  Copyright © 2018年 Facebook. All rights reserved.
//


#import "OpenSeekView.h"
#import "LibraryIos.h"

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>


@implementation OpenSeek

// 导出模块，不添加参数即默认为这个类名
RCT_EXPORT_MODULE();

// 导出方法，桥接到js的方法返回值类型必须是void
RCT_EXPORT_METHOD(openView:(NSString *) phone){
  LibraryIos* libraryIos = [[LibraryIos alloc] init];
  //测试地址：120.209.139.46  生产库地址：120.209.139.43
  [libraryIos setIP:@"120.209.139.46"];
  //[libraryIos openPage:self eccode:@"LTWS" membermobile:phone];
  [libraryIos openPage:self eccode:@"LTWS" membermobile:@"18756052228"];
  NSLog(@"%@ ===> openView",phone);
}
@end
